import React from 'react';
import { Button } from 'antd';

export const Export = props => <Button {...props}>{props.children}</Button>;

export const Download = props => <Button {...props}>{props.children}</Button>;

export const Import = props => <Button {...props}>{props.children}</Button>;

Export.defaultProps = {
  icon: 'export',
  children: '导出',
};

Download.defaultProps = {
  icon: 'download',
  children: '下载',
};

Import.defaultProps = {
  icon: 'import',
  children: '导入',
};
